package com.demo.mapper;

import java.util.List;
import java.util.Map;

import com.demo.entity.Role;
import com.demo.entity.User;
import com.demo.pojo.UserQuery;

import tk.mybatis.mapper.common.Mapper;

public interface UserMapper extends Mapper<User> {

	public List<UserQuery> findByParams(Map<String,String> params);
	
	List<Role> findRoles(String username);
}
